/// 初始化的一些配置
class InitConfig {
  /// mapbox的key
  static late String _mapboxKey;

  /// 高德 android 的key
  static late String _amapAndroidKey;

  /// 高德 ios 的key
  static late String _amapIosKey;

  /// 天地图的key
  static late String _tdtKey;

  /// 高德 搜索的key，用的是web的key
  static late String _amapSearchKey;

  /// 星图地图的key
  static late String _xingTuKey;

  static void init(
      {required String mapboxKey,
      required String amapAndroidKey,
      required String amapIosKey,
      required String tdtKey,
      required String amapSearchKey,
      required String xingTuKey}) {
    _mapboxKey = mapboxKey;
    _amapAndroidKey = amapAndroidKey;
    _amapIosKey = amapIosKey;
    _tdtKey = tdtKey;
    _amapSearchKey = amapSearchKey;
    _xingTuKey = xingTuKey;
  }

  static String get amapIosKey => _amapIosKey;

  static String get amapAndroidKey => _amapAndroidKey;

  static String get mapboxKey => _mapboxKey;

  static String get tdtKey => _tdtKey;

  static String get amapSearchKey => _amapSearchKey;

  static String get xingTuKey => _xingTuKey;
}
